package sg.edu.nus.dashboard.baseline.control
{
	import com.adobe.cairngorm.control.FrontController;
	
	import sg.edu.nus.dashboard.baseline.control.command.ConfigureBaselineCommand;
	import sg.edu.nus.dashboard.baseline.control.command.GetBaselineCommand;
	import sg.edu.nus.dashboard.baseline.control.event.ConfigureBaselineEvent;
	import sg.edu.nus.dashboard.baseline.control.event.GetBaselineEvent;
	
	public class BaselineController extends FrontController
	{
		public function BaselineController()
		{
			initialCommands();
		}
		
		private function initialCommands():void
		{
			addCommand(GetBaselineEvent.EVENT_NAME, GetBaselineCommand);
			addCommand(ConfigureBaselineEvent.EVENT_NAME, ConfigureBaselineCommand);
		}
	}
}